<%@  Title="SmartBook - Register" %>

<com:TContent ID="Main">
  
<h1>Register</h1>
<br/><br/>
<span>Display name:</span>
<com:TRequiredFieldValidator
    ControlToValidate="Username"
    ErrorMessage="Please provide a display name."
    Display="Dynamic" />
<br/>
<com:TTextBox ID="Username" CssClass="content" />
<br/>
<span>Email Address:</span>
<com:TRequiredFieldValidator
    ControlToValidate="Email"
    ErrorMessage="Please provide your email address."
    Display="Dynamic" />
<com:TEmailAddressValidator
    ControlToValidate="Email"
    ErrorMessage="You entered an invalid email address."
    Display="Dynamic" />
<com:TCustomValidator
    ControlToValidate="Email"
    ErrorMessage="Sorry, your Email is taken by someone else. Please choose another Email."
    OnServerValidate="checkEmail"
    Display="Dynamic" />
<br/>
<com:TTextBox ID="Email" CssClass="content" />
<br/><br/>
 <span>Password:</span>
<com:TRequiredFieldValidator
    ControlToValidate="Password"
    ErrorMessage="Please provide a password."
    Display="Dynamic" />
<br/>
<com:TTextBox ID="Password" TextMode="Password" CssClass="content"/>
 
<br/>
<span>Re-type Password:</span>
<com:TCompareValidator
    ControlToValidate="Password"
    ControlToCompare="Password2"
    ErrorMessage="Your password entries did not match."
    Display="Dynamic" />
<br/>
<com:TTextBox ID="Password2" TextMode="Password" CssClass="content"/>
 


<br/><br/>
<hr />
 <span>First Name:</span>
<br/>
<com:TTextBox ID="FirstName" CssClass="content"/>
 
<br/>
<span>Last Name:</span>
<br/>
<com:TTextBox ID="LastName" CssClass="content"/>
<br/><br/>


<span>Sex:</span>
<com:TRadioButton
    ID="radMale"
    GroupName="sex"
    Text="Male"
    />
<com:TRadioButton
    ID="radFemale"
    GroupName="sex"
    Text="Female"
    Checked="True"
    />
 
<br/><br/>
<span>Birth Date:</span>
<br/>
<com:TDropDownList ID="DDLDay" />
<com:TDropDownList ID="DDLMonth" />
<com:TDropDownList ID="DDLYear" />

<br/><br/>
<span>Is privated?</span>
<com:TCheckBox ID="isPrivateChk" Checked="True"/>
<br/><br/>
<hr />
<com:TButton CssClass="common_btn" Text="Register" OnClick="createButtonClicked" />
 <br/><br/><br/>

</com:TContent>